The scalar projection, also known as the scalar resolute or scalar component, of a vector in the direction of a vector (or scalar projection of on ) is given by:
where the operator denotes a dot product, is the unit vector in the direction of , is the length of , and is the angle between and .
For an intuitive understanding of this formula, recall from trigonometry that and simply rearrange the terms by multiplying both sides by .
The scalar projection is a scalar, and is the length of the orthogonal projection of the vector onto the vector , with a minus sign if the direction is opposite.
Multiplying the scalar projection by converts it into the vector projection, a vector.